#ifndef _TEXT_WIDGET_H_
#define _TEXT_WIDGET_H_

#include "NameForm.h"
class LeafNodeForm :public NameForm
{

	Q_OBJECT
public:
	/**
	 * .
	 *
	 * \param parent
	 */
	explicit LeafNodeForm(ElementForm* parent = nullptr);


protected:
	virtual void paintEvent(QPaintEvent* event);
	virtual void updateParam();

protected:

	int _topDistance = 142;
	int _leftDistance = 14;
	
};
#endif //!TEXTWIDGET_H
